AAA = 13

menu = ""
for i = AAA, 11, -1 do
    menu = menu .. "下载扩展  v" .. i / 10 .. "|"
end

local selection = gfx.showmenu(menu)
if selection ~= 0 then
    local Digital = AAA - selection + 1
    local version = string.format("%.1f", Digital / 10)
    
    reaper.CF_ShellExecute(reaper.GetResourcePath() .. sep .. "UserPlugins" .. sep)
    download_file(reaper.GetResourcePath() .. sep .. "UserPlugins" .. sep , "https://gitee.com/XJ-banxialiming/jinghu-guest/raw/master/DLL/reaper_JHK_Action_API_" .. version .. "-x64.dll")
end